package com.ccc.test.weibo;

// PlatformType.java
public enum PlatformType {
    WEIBO("微博", "weibo", "#ff8200"),
    BAIDU("百度", "baidu", "#2932e1"),
    ZHIHU("知乎", "zhihu", "#0084ff"),
    TOUTIAO("头条", "toutiao", "#f85959"),
    DOUYIN("抖音", "douyin", "#000000");

    private final String name;
    private final String code;
    private final String color;

    PlatformType(String name, String code, String color) {
        this.name = name;
        this.code = code;
        this.color = color;
    }

    // getters
    public String getName() { return name; }
    public String getCode() { return code; }
    public String getColor() { return color; }
}
